
window.addEventListener("DOMContentLoaded", () => {
  noticeBtn.addEventListener("click", () => {
    let option = {
      title: "hello",
      body: "hello waitfish"
    };

    let noticeBox = new window.Notification(option.title, option);
    noticeBox.addEventListener("click", () => {
      console.log("点击了消息卡片");
    });
  });
});